import request from '@/utils/http.js'

export const getCheckoutInfoAPI = () => request.get("/member/order/pre")


//提交订单
export const createOrderAPI = (data) => {
  return request({
    url: "/member/order",
    method: "post",
    data
  })
}